package com.example.synchost5.entity;

import lombok.Getter;

public enum ResponseStatusEnum {
    OK(200, "ok"),
    NO_AUTH(400, "no auth"),
    SERVER_ERROR(500, "server error"),
    BUSINESS_ERROR(600, "business error"),
    UNKNOWN_ERROR(99999, "unknown error");

    @Getter
    private final int code;
    @Getter
    private final String message;

    ResponseStatusEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }
}
